package design.observer.example;

/**
 * @author chengzhang
 * 2021/9/30 15:40
 */
public class ConcreteSubject extends Subject {

    @Override
    public void doSomething() {
        System.out.println("被观察者事件发生改变");
        this.notifyObserver();
    }
}
